<!--
 * @Author: yaojian66 1327629137@qq.com
 * @Date: 2022-06-23 11:10:56
 * @LastEditors: yaojian66 1327629137@qq.com
 * @LastEditTime: 2022-06-23 11:16:18
 * @FilePath: \geyao\第十题 标签类id选择器.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>标签 类 id选择器</title>
</head>
<style type="text/css">
  /*补全代码*/
  div {
    color: rgb(255, 0, 0);
    font-size:20px;
  }
  .green {
    color: rgb(0, 128, 0);
    font-size:20px;
  }
  #black {
    color: rgb(0, 0, 0);
    font-size:20px;
  }
</style>

<body>
  <!-- 请将html模块中字体内容是"红色"的字体颜色设置为"rgb(255, 0, 0)"，
    "绿色"设置为"rgb(0, 128, 0)"，"黑色"设置为"rgb(0, 0, 0)"，且字体大小都为20px。 -->
  <div>红色</div>
  <div class='green'>绿色</div>
  <div id='black'>黑色</div>
</body>

</html>